/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package officeboost.entity.form;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import org.jbpm.api.ExecutionService;

/**
 *
 * @author wangfrank
 */
//@Entity
public class StudyOpinionForm extends AbstractForm implements Serializable {

    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    private String name;
    private String uid;
    private String phone_name;
    private String position;
    private String work;
    private String detail;
    private String destination;
    private String time_span;
    private String money_source;
    private String reason;
    private String leader_opinion;
    private String president_opinion;
    private String school_opinion;
    private int status;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getLeader_opinion() {
        return leader_opinion;
    }

    public void setLeader_opinion(String leader_opinion) {
        this.leader_opinion = leader_opinion;
    }

    public String getMoney_source() {
        return money_source;
    }

    public void setMoney_source(String money_source) {
        this.money_source = money_source;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone_name() {
        return phone_name;
    }

    public void setPhone_name(String phone_name) {
        this.phone_name = phone_name;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getPresident_opinion() {
        return president_opinion;
    }

    public void setPresident_opinion(String president_opinion) {
        this.president_opinion = president_opinion;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getSchool_opinion() {
        return school_opinion;
    }

    public void setSchool_opinion(String school_opinion) {
        this.school_opinion = school_opinion;
    }

    public String getTime_span() {
        return time_span;
    }

    public void setTime_span(String time_span) {
        this.time_span = time_span;
    }

    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (id != null ? id.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof StudyOpinionForm)) {
            return false;
        }
        StudyOpinionForm other = (StudyOpinionForm) object;
        if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "officeboost.entity.form.StudyOpinionForm[ id=" + id + " ]";
    }

    @Override
    public String apply(ExecutionService es) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Long theId() {
	throw new UnsupportedOperationException("Not supported yet.");
    }
}
